package com.boilermaker.springaoplearning.controller;

import com.boilermaker.springaoplearning.aspect.TimeMonitor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/t2")
    public String queryUser(String id) {
        log.info("开始查询用户: " + id);
        return "查询到用户:" + id;
    }
}